package com.jack.vipmis.vip.member.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.fastjson.annotation.JSONField;
import com.jack.vipmis.common.entity.BaseEntity;

/**
 * 
 * @author JackLiang
 * @date 2014-7-12
 * @version 1.0
 */
@Entity
@Table(name = "vip_verify")
public class Verify extends BaseEntity<Long> {

	@Column
	private Long	phone;

	@Column
	private String	yzm;

	@Column(name = "verfiy_time")
	@Temporal(TemporalType.TIMESTAMP)
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JSONField(serialize = false)
	private Date	verifyTime	= new Date();

	@JSONField(serialize = false)
	@Column(name = "remark")
	private String	remark;

	public Long getPhone() {
		return phone;
	}

	public void setPhone(Long phone) {
		this.phone = phone;
	}

	public String getYzm() {
		return yzm;
	}

	public void setYzm(String yzm) {
		this.yzm = yzm;
	}

	public Date getVerifyTime() {
		return verifyTime;
	}

	public void setVerifyTime(Date verifyTime) {
		this.verifyTime = verifyTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
